package com.example.natatorium_management.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.example.natatorium_management.entity.MemberShip;
import com.example.natatorium_management.result.restful.R;

import java.util.List;

public interface MemberShipService {
    void addBatchMemberShip();

    R<MemberShip> addMemberShip(MemberShip memberShip);

    R<IPage<MemberShip>> queryPage(int current,int size);

    R<MemberShip> updateMemberShip(MemberShip memberShip);

    R<MemberShip> findMemberShipById(int memberShipId);

    R<IPage<MemberShip>> findMemberShip(MemberShip memberShip ,int current,int size);

    R<MemberShip> deleteMemberShipById(int memberShipId);
}
